#ifndef NODEPROWIDGET_H
#define NODEPROWIDGET_H

#include <Fl/Fl_Group.h>
#include <Fl/Fl_Value_Output.H>
#include <Fl/Fl_Light_Button.H>
#include <FL/Fl_Choice.H>
#include <FL/Fl_Box.H>
#include <FL/Fl_Output.H>


class nodeProWidget : public Fl_Group
{
    public:
        nodeProWidget(int x,int y,int px,int py,int id);
        virtual ~nodeProWidget();

        void pozisyon(int px,int py);
        void sahip(Fl_Widget *comp);

        void _wStatus_(bool p);
        void _wSelectable_(bool p);
        void _wDeletable_(bool p);
        void _wMovable_(bool p);
        void _wFromLink_(bool p);
        void _wToLink_(bool p);

        static void wStatus_CB(Fl_Widget *w,void *userdata);
        void wStatus_CB2();

        static void wSelectable_CB(Fl_Widget *w,void *userdata);
        void wSelectable_CB2();

        static void wDeletable_CB(Fl_Widget *w,void *userdata);
        void wDeletable_CB2();

        static void wMovable_CB(Fl_Widget *w,void *userdata);
        void wMovable_CB2();

        static void wFromLink_CB(Fl_Widget *w,void *userdata);
        void wFromLink_CB2();

        static void wToLink_CB(Fl_Widget *w,void *userdata);
        void wToLink_CB2();

        Fl_Value_Output * xx();
        Fl_Value_Output * yy();
        Fl_Value_Output * Id();
        Fl_Output * Tip();
        Fl_Light_Button * Status();
        Fl_Light_Button * Selectable();
        Fl_Light_Button * Deletable();
        Fl_Light_Button * Movable();
        Fl_Light_Button * FromLink();
        Fl_Light_Button * ToLink();
    protected:
        Fl_Output *wTip;
        Fl_Value_Output *wx;
        Fl_Value_Output *wid;
        Fl_Value_Output *wy;
        Fl_Light_Button *wStatus;
        Fl_Light_Button *wSelectable;
        Fl_Light_Button *wDeletable;
        Fl_Light_Button *wMovable;
        Fl_Light_Button *wFromLink;
        Fl_Light_Button *wToLink;
        Fl_Widget *sahip_;
        bool alver[2];
    private:
};

#endif // NODEPROWIDGET_H
